home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / appnotes / 046_060 / 046c / Text
Encoding:
Text File  |  1993-08-02  |  7.8 KB  |  144 lines

  1. 5th August 1992
  2. z-----------------------------------------------------------------------------
  3. Support Group Application Note  Number: 046 Issue: 3  Author: D J Bell
  4. -----------------------------------------------------------------------------
  5.  
  6. EDIT Application Note
  7.  
  8. -----------------------------------------------------------------------------
  9. Applicable Hardware: BBC Master Series
  10.  
  11. Related Application Notes:
  12.  
  13.  
  14. -----------------------------------------------------------------------------
  15. Copyright (C) Acorn Computers Limited 1992
  16.  
  17. Every effort has been made to ensure that the information in this leaflet is 
  18. true and correct at the time of printing. However, the products described in
  19. this leaflet are subject to continuous development and improvements and
  20. Acorn Computers Limited reserves the right to change its specifications at
  21. any time. Acorn Computers Limited cannot accept liability for any loss or
  22. damage arising from the use of any information or particulars in this
  23. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  24. Limited.
  25. -----------------------------------------------------------------------------
  26. Support Group
  27. Acorn Computers Limited
  28. Acorn House
  29. Vision Park
  30. Histon
  31. Cambridge       CB4 4AE
  32. -----------------------------------------------------------------------------
  33.  
  34.  
  35. The EDIT software has the following summary of features:
  36.          * Text file editing with ability to go to defined line numbers.
  37.          * Includes a formatter to provide reasonable presentation on
  38.            printed documents.
  39.          * Can display on-screen help info. State of this HELP info is
  40.            kept in CMOS RAM.
  41.        * Cursor keys used to move cursor around screen, with screen
  42.            scrolling up or down as necessary.
  43.                  *       Shift mode              Action
  44.                          NONE +  up/down arrow   cursor moves one line
  45.                          NONE +  left/right "      "      "    "  character 
  46.  
  47.                          SHIFT + up/down arrow     "      "    "  screen
  48.                          SHIFT + left/right  "     "      "    "  word
  49.  
  50.                          CTRL + up/down arrow      "      "   top/bottom doc 
  51.                          CTRL + left/right "       "      "   start/end line 
  52.          * ESCAPE safely abandons most operations.
  53.          * Function key operations:
  54.                  f0  -   Goto specified line number     
  55.          SHIFT f0  -     Toggles between invisible display of carriage
  56.                          returns (default) and small reverse video 'M's.
  57.                          User can easily control trailing spaces.                                                                                      
  58.                  f1  -   Access to OSCLI e.g. <f1>CAT for Disk Catalogue.
  59.            SHIFT f1  -   Toggles entry mode between insert (default) and
  60.                          overtype. State is displayed at bottom left of
  61.                          screen.
  62.                  f2  -   Load text from a named file.
  63.            SHIFT f2  -   Insert text from named file at the cursor position. 
  64.                  f3  -   Save text to named file.
  65.            SHIFT f3  -   Remove top and bottom scroll margins.
  66.                  f4  -   Enter interactive find and replace option. A prompt 
  67.                          of FIND/REPLACE will appear at bottom of the screen 
  68.                          The text until the next '/' or RETURN is the string 
  69.                          to be searched for.
  70.                          Some characters represent powerful operators:
  71.                          $ - Carriage return.
  72.                          . - ANY character except carriage return.
  73.                          # - A digit 0 to 9.
  74.                          @ - An alphabetic (a to z, A to Z) or digit.
  75.                          ~ - 'NOT' the following character e.g. ~` means
  76.                              not a digit.
  77.                          * - Any number of the following character.
  78.                          ^ - As many as possible of the following character. 
  79.                          \ - An escape to allow special characters to be
  80.                              introduced.
  81.                          - - Signifies a range e.g. a-z matches a lower case 
  82.                              character.
  83.                          []- Is a set of options for this character e.g.
  84.                              [0123] would allow 0,1,2, or 3.
  85.                          | - Control characters as MOS e.g. |J is CTRL + J. 
  86.  
  87.                  If the string is ended in a RETURN i.e. no /, then the
  88.                  string will be found (if possible) and a prompt of
  89.                  R(eplace),C(ontinue) or ESCAPE will be displayed. C moves 
  90.                  on to the next occurence, R replaces and moves on, ESCAPE 
  91.                  stops altogether. The text after the second '/' is the
  92.                  string which may replace the found string. If there is no 
  93.                  / then you may type in the text and move on when R is used. 
  94.                  There are special characters here:
  95.                          $ - Again represents carriage return.
  96.                          \ - As find string.
  97.                        | - As find string.
  98.                          & - Represents the found string.
  99.                          %n- (n is 0 to 9) represents the nth wild section 
  100.                              of the found string.
  101.            SHIFT f4  -   Return to language, text being replaced into lang. 
  102.                          Clear text buffer.
  103.                  f5  -   Global replace. Syntax exactly as find string.
  104.                          Displays the number of found objects after working. 
  105.                          Will operate either over whole file or from mark to 
  106.                          cursor.
  107.            SHIFT f5  -   Set HELP display mode.
  108.                  f6  -   Mark position. When pressed the character that the  
  109.                          cursor is on will be replaced by an inverted 1 or 2 
  110.                          and the number of matks displayed at the bottom
  111.                          left of the screen will be increased. Marked
  112.                          positions can be used to delete blocks of text,
  113.                          copy and move them, and perform restricted
  114.                          searches. Up to two marked positions may be set, an 
  115.                          attempt to set a third will produce an error
  116.                          message. No editing may be done while marks are set 
  117.            SHIFT f6  -   Remove all marks.                      
  118.                  f7  -   Copy text delimiting by two marks to where the
  119.                          cursor is now. The marks are not cleared so the
  120.                          operation can be repeated. The cursor must not be 
  121.                          in the marked area.
  122.            SHIFT f7  -   Move text delimited by two marks to where the
  123.                          cursor is now. The marks are cleared. The cursor
  124.                          must not be in the Marked area.
  125.                  f8  -   Print out text
  126.            SHIFT f8  -   Delete text between single marked position and
  127.                          current cursor position. An error message will
  128.                          occur if there is not exactly one mark present.
  129.                  f9  -   Get old text back. Works if SHIFT f9 has just
  130.                          been pressed or EDITOR has been broken out of and 
  131.                          re-entered.
  132.            SHIFT f9  -   Delete all text.
  133.  
  134. A full description of EDIT can be  found  in  the  Master Series Reference 
  135. Manual  Part  2  (Product  Ordering Code ADJ23). The Master Series Welcome 
  136. Guide contains a summary of the features (Product Ordering Code ADJ01).
  137.  
  138. This  information  is  subject to change without notice. No responsibility 
  139. can be taken for  any  errors  or  omissions.  The  user or program writer 
  140. should  verify  that  any application program is suitable for the intended 
  141. environment(s).
  142.  
  143. DJBELL
  144.